package com.iotek.bookstore.modle.entity;

public class Book {
    private int bookId;//图书ID
    private int titleTwoId;//图书二级分类ID
    private String cover;//封面
    private String book;//书名
    private String writer;//作者
    private String press;//出版社
    private String publicationTime;//出版时间
    private String intro;//简介
    private double pricing;//定价
    private double price;//当当价
    private int repertory;//库存
    private String putawayTime;//上架时间
    private int sales;//销量

    public Book() {
    }

    public Book(int bookId, int titleTwoId, String cover, String book, String writer, String press,
                String publicationTime, String intro, double pricing, double price,
                int repertory, String putawayTime, int sales) {
        this.bookId = bookId;
        this.titleTwoId = titleTwoId;
        this.cover = cover;
        this.book = book;
        this.writer = writer;
        this.press = press;
        this.publicationTime = publicationTime;
        this.intro = intro;
        this.pricing = pricing;
        this.price = price;
        this.repertory = repertory;
        this.putawayTime = putawayTime;
        this.sales = sales;
    }

    public int getBookId() {
        return bookId;
    }

    public void setBookId(int bookId) {
        this.bookId = bookId;
    }

    public int getTitleTwoId() {
        return titleTwoId;
    }

    public void setTitleTwoId(int titleTwoId) {
        this.titleTwoId = titleTwoId;
    }

    public String getCover() {
        return cover;
    }

    public void setCover(String cover) {
        this.cover = cover;
    }

    public String getBook() {
        return book;
    }

    public void setBook(String book) {
        this.book = book;
    }

    public String getWriter() {
        return writer;
    }

    public void setWriter(String writer) {
        this.writer = writer;
    }

    public String getPress() {
        return press;
    }

    public void setPress(String press) {
        this.press = press;
    }

    public String getPublicationTime() {
        return publicationTime;
    }

    public void setPublicationTime(String publicationTime) {
        this.publicationTime = publicationTime;
    }

    public String getIntro() {
        return intro;
    }

    public void setIntro(String intro) {
        this.intro = intro;
    }

    public double getPricing() {
        return pricing;
    }

    public void setPricing(double pricing) {
        this.pricing = pricing;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public int getRepertory() {
        return repertory;
    }

    public void setRepertory(int repertory) {
        this.repertory = repertory;
    }

    public String getPutawayTime() {
        return putawayTime;
    }

    public void setPutawayTime(String putawayTime) {
        this.putawayTime = putawayTime;
    }

    public int getSales() {
        return sales;
    }

    public void setSales(int sales) {
        this.sales = sales;
    }
}
